home *** CD-ROM | disk | FTP | other *** search
- Path: newspost1.alt.net!usenet
- From: jcharper@alt.net (JC)
- Newsgroups: comp.lang.c++
- Subject: Procedure for CRC-16 Value for a given text string
- Date: Thu, 11 Jan 1996 03:42:08 GMT
- Organization: Student
- Message-ID: <30f486fc.64895197@news.alt.net>
- Reply-To: jcharper@alt.net
- X-Newsreader: Forte Agent .99d/32.168
-
-
- To anyone with some knowledge of C - programming language. I need a
- procedure that will compute a CRC-16 value for a given text string.
- This should receive a text string as input and produce a two byte CRC
- value as output. The output has to be two data bytes. The carriage
- return byte is not to be included in the CRC computations. This should
- be able to read text strings from the terminal, call the procedure,
- and then print the string and the appropriate CRC value. The output
- will be the text string that was input and the corresponding CRC
- value. Then, the CRC value should be converted into a 4 digit Hex
- value. Any suggestions ???
-
- Please help !!
-